fix: media playback issue ai insights#28148
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
This reverts commit cf71134.
|
❌ E2E Fixture Validation — Failed |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Why no E2E tags are needed:
Performance Test Selection: |
|



Description
Prevent the Market Insights background animation from interrupting audio already playing on the device.
The screen uses a muted
react-native-videoanimation, but on iOS that video can still take over the app audio session and stop music playback from Bluetooth headphones or device speakers. This change configures the background video to obey the silent switch and mix with other audio so opening Market Insights no longer pauses the user’s music.The test mock for
react-native-videowas also updated to forward props so the view test can assert the audio-session configuration.Changelog
CHANGELOG entry: Fixed an issue where opening Market Insights could pause audio already playing on the device.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Touches media playback configuration (
react-native-video) which can affect audio behavior across platforms, but the change is small and covered by a targeted unit test.Overview
Prevents the Market Insights muted background animation from taking over the app audio session by configuring
react-native-videotoignoreSilentSwitch="obey"andmixWithOthers="mix".Updates the
react-native-videoJest mock to forward arbitrary props, and adds a view test asserting the new audio-mixing configuration on the background video.Written by Cursor Bugbot for commit 96bed41. This will update automatically on new commits. Configure here.